import React from 'react';
import ReactDOM from 'react-dom';
import TodoListRedux from './TodoListRedux.js';
// import TodoList from './TodoList.js';
import { Provider } from 'react-redux';
import store from './storeRedux/index';

const App = (
	<Provider store = {store}>
		<TodoListRedux />
	</Provider>
)

ReactDOM.render(App, document.getElementById('root'));
// ReactDOM.render(<TodoList />, document.getElementById('root'));